package cn.foolishbird.crow.springmvc.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * @author foolish bird
 * @email luohongtu@foolishbird.cn
 */
@ApiModel("排序")
public class Order implements Serializable {

    private static final long serialVersionUID = 5083227934852976924L;

    /**
     * 列属性
     */
    @ApiModelProperty("列属性")
    private String column;

    /**
     * 升序 ASC 降序 DESC
     */
    @ApiModelProperty("升序 ASC 降序 DESC")
    private OrderType order;

    public String getColumn() {
        return column;
    }

    public void setColumn(String column) {
        this.column = column;
    }

    public OrderType getOrder() {
        return order;
    }

    public void setOrder(OrderType order) {
        this.order = order;
    }
}
